package com.zycfc.zsf.boot.util.json;

import java.lang.reflect.*;
import com.google.gson.*;

public class GsonErrCdEnumTypeAdapter implements JsonSerializer<GsonErrCdEnum>, JsonDeserializer<GsonErrCdEnum>
{
    public JsonElement serialize(final GsonErrCdEnum src, final Type typeOfSrc, final JsonSerializationContext context) {
        if (src != null) {
            return (JsonElement)new JsonPrimitive(src.getValue());
        }
        return null;
    }
    
    public GsonErrCdEnum deserialize(final JsonElement json, final Type typeOfT, final JsonDeserializationContext context) throws JsonParseException {
        return null;
    }
}
